namespace SimpleWebServices.Web.UI.Html
{
    using System;
    using SimpleWebServices.Globalization;
    using Xunit;

    public sealed class IElementFacts
    {
        [Fact]
        public void typedef()
        {
            Assert.True(typeof(IElement).IsInterface);
        }

        [Fact]
        public void IElement_Class_get()
        {
            try
            {
                Names value = (new IElementDummy() as IElement).Class;
                Assert.True(false);
            }
            catch (NotSupportedException)
            {
            }
        }

        [Fact]
        public void IElement_Class_set()
        {
            try
            {
                (new IElementDummy() as IElement).Class = null as Names;
                Assert.True(false);
            }
            catch (NotSupportedException)
            {
            }
        }

        [Fact]
        public void IElement_Id_get()
        {
            try
            {
                Name value = (new IElementDummy() as IElement).Id;
                Assert.True(false);
            }
            catch (NotSupportedException)
            {
            }
        }

        [Fact]
        public void IElement_Id_set()
        {
            try
            {
                (new IElementDummy() as IElement).Id = null as Name;
                Assert.True(false);
            }
            catch (NotSupportedException)
            {
            }
        }

        [Fact]
        public void IElement_Language_get()
        {
            try
            {
                Language value = (new IElementDummy() as IElement).Language;
                Assert.True(false);
            }
            catch (NotSupportedException)
            {
            }
        }

        [Fact]
        public void IElement_Language_set()
        {
            try
            {
                (new IElementDummy() as IElement).Language = null as Language;
                Assert.True(false);
            }
            catch (NotSupportedException)
            {
            }
        }

        [Fact]
        public void IElement_Title_get()
        {
            try
            {
                string value = (new IElementDummy() as IElement).Title;
                Assert.True(false);
            }
            catch (NotSupportedException)
            {
            }
        }

        [Fact]
        public void IElement_Title_set()
        {
            try
            {
                (new IElementDummy() as IElement).Title = string.Empty;
                Assert.True(false);
            }
            catch (NotSupportedException)
            {
            }
        }

        [Fact]
        public void IElement_Deserialize_string_string_string()
        {
            IElement value = (new IElementDummy() as IElement).Deserialize(string.Empty, string.Empty, string.Empty);
        }

        [Fact]
        public void IElement_Render()
        {
            try
            {
                string value = (new IElementDummy() as IElement).Render();
                Assert.True(false);
            }
            catch (NotSupportedException)
            {
            }
        }
    }
}